const express = require('express');
const app = express();

//挂载路由
app.get('/', (req, res) => {
  res.send('hello word,get');
});

app.post('/', (req, res) => {
  res.send('hello post');
});

app.listen(80, () => {
  console.log('Server is running on port 80');
});